Package com.cisco.pt.ipc.sim.impl
Class IkePolicyImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.IkePolicyImpl
Information provided by the PKI file:
\class IkePolicy
\brief IkePolicy handles and manipulates IKE policies.
\example network().getDevice("Router0").getProcess("IpsecProcess").getIkePolicyAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionIkePolicyImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:voidsetLifetime(int lifetime) Information provided by the PKI file:voidsetPriorityNum(int number) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
IkePolicyImpl
public IkePolicyImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setPriorityNum
public void setPriorityNum(int number) Information provided by the PKI file:
\brief Sets the priority value. \param number, the priority value.- Specified by:
setPriorityNumin interfaceIkePolicy- Parameters:
number- Takes in a parameter of number
-
getPriorityNum
public int getPriorityNum()Information provided by the PKI file:
\brief Returns the priority value. \return int, the priority value.- Specified by:
getPriorityNumin interfaceIkePolicy- Returns:
- int Returns a int
-
getEncryKeyBits
public int getEncryKeyBits()Information provided by the PKI file:
\brief Returns the number of bits in the encryption key. \return int, the number of bits in the encryption key.- Specified by:
getEncryKeyBitsin interfaceIkePolicy- Returns:
- int Returns a int
-
setLifetime
public void setLifetime(int lifetime) Information provided by the PKI file:
\brief Sets the lifetime for the IKE policy. \param lifetime, the lifetime value.- Specified by:
setLifetimein interfaceIkePolicy- Parameters:
lifetime- Takes in a parameter of lifetime
-
getLifetime
public int getLifetime()Information provided by the PKI file:
\brief Returns the lifetime value for the IKE policy. \return int, the lifetime value for the IKE policy.- Specified by:
getLifetimein interfaceIkePolicy- Returns:
- int Returns a int
-